From: Florian Müllner Date: Sat, 11 Aug 2012 03:53:59 +0000 (+0200) Subject: Add screenshield and unlock dialog to ctrl-alt-tab X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5426 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ced7fa9f01bf00aa326baf746d3f4409c2748f06;p=gnome-shell.git Add screenshield and unlock dialog to ctrl-alt-tab As we now allow the ctrl-alt-tab popup on the lock screen, it should be possible to navigate back from the top bar, so add the corresponding elements to the switcher. https://bugzilla.gnome.org/show_bug.cgi?id=688202 --- diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index 3338dcc0d..881d66706 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -398,6 +398,7 @@ const ScreenShield = new Lang.Class({ Lang.bind(this, this._onLockScreenKeyRelease)); this._lockScreenGroup.connect('scroll-event', Lang.bind(this, this._onLockScreenScroll)); + Main.ctrlAltTabManager.addGroup(this._lockScreenGroup, _("Lock"), 'changes-prevent-symbolic'); this._lockScreenContents = new St.Widget({ layout_manager: new Clutter.BinLayout(), name: 'lockScreenContents' }); diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index 2f46d648e..9996385a3 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -200,6 +200,8 @@ const UnlockDialog = new Lang.Class({ return false; })); + Main.ctrlAltTabManager.addGroup(this.dialogLayout, _("Unlock Window"), 'dialog-password-symbolic'); + this._idleMonitor = new GnomeDesktop.IdleMonitor(); this._idleWatchId = this._idleMonitor.add_watch(IDLE_TIMEOUT * 1000, Lang.bind(this, this._escape)); },